.class public Lcom/example/m6wmr/SearchActivity;
.super Landroid/app/Activity;
.source "SearchActivity.java"


# static fields
.field public static eva:Lcom/example/m6wmr/SearchActivity;

.field public static me:Lcom/example/m6wmr/SearchActivity;


# instance fields
.field private areaid:Ljava/lang/String;

.field private areals:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/AreaBean;",
            ">;"
        }
    .end annotation
.end field

.field private areamapname:Ljava/lang/String;

.field private back:Landroid/widget/Button;

.field private bt:Landroid/widget/Button;

.field private data_list:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation
.end field

.field private delbt:Landroid/widget/Button;

.field private et:Landroid/widget/EditText;

.field private good:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/GoodsBean;",
            ">;"
        }
    .end annotation
.end field

.field goods:[Ljava/lang/String;

.field private gv:Landroid/widget/GridView;

.field public h:Landroid/os/Handler;

.field list:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/NotesBean;",
            ">;"
        }
    .end annotation
.end field

.field private ll:Landroid/widget/LinearLayout;

.field private lv:Landroid/widget/ListView;

.field private lv_goods:Landroid/widget/ListView;

.field private lv_shop:Landroid/widget/ListView;

.field m:Lmyapp/MyApp;

.field private mcontext:Landroid/content/Context;

.field orderlist:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private ordervalue:I

.field private page:I

.field pscostlist:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private pscostvalue:I

.field private s:Ldbclass/NotesService;

.field private sc:Landroid/widget/ScrollView;

.field private searchvalue:Ljava/lang/String;

.field private service:Ldbclass/NotesService;

.field private shopls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ShopBean;",
            ">;"
        }
    .end annotation
.end field

.field private shoptypels:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ShoptypeBean;",
            ">;"
        }
    .end annotation
.end field

.field private shoptypevalue:I

.field private sim_adapter:Landroid/widget/SimpleAdapter;

.field private spbd:Ldata/ShopData2;

.field private temshopls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/ShopBean;",
            ">;"
        }
    .end annotation
.end field

.field private textWatcher:Landroid/text/TextWatcher;

.field private tv:Landroid/widget/TextView;

.field private tv2:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 6

    .prologue
    const/4 v5, 0x0

    const/4 v4, 0x1

    const/4 v3, 0x0

    .line 55
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 57
    iput-object v5, p0, Lcom/example/m6wmr/SearchActivity;->h:Landroid/os/Handler;

    .line 66
    const/4 v0, 0x3

    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "\u67f4"

    aput-object v1, v0, v3

    const-string v1, "\u7c73"

    aput-object v1, v0, v4

    const/4 v1, 0x2

    const-string v2, "\u6cb9"

    aput-object v2, v0, v1

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->goods:[Ljava/lang/String;

    .line 67
    iput-object v5, p0, Lcom/example/m6wmr/SearchActivity;->m:Lmyapp/MyApp;

    .line 74
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->pscostlist:Ljava/util/List;

    .line 75
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->orderlist:Ljava/util/List;

    .line 76
    iput v3, p0, Lcom/example/m6wmr/SearchActivity;->pscostvalue:I

    .line 77
    iput v3, p0, Lcom/example/m6wmr/SearchActivity;->ordervalue:I

    .line 78
    iput v3, p0, Lcom/example/m6wmr/SearchActivity;->shoptypevalue:I

    .line 81
    iput v4, p0, Lcom/example/m6wmr/SearchActivity;->page:I

    .line 85
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->areamapname:Ljava/lang/String;

    .line 86
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->areaid:Ljava/lang/String;

    .line 370
    new-instance v0, Lcom/example/m6wmr/SearchActivity$1;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/SearchActivity$1;-><init>(Lcom/example/m6wmr/SearchActivity;)V

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->textWatcher:Landroid/text/TextWatcher;

    .line 55
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/EditText;
    .locals 1

    .prologue
    .line 62
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/m6wmr/SearchActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->tv2:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$11(Lcom/example/m6wmr/SearchActivity;)I
    .locals 1

    .prologue
    .line 81
    iget v0, p0, Lcom/example/m6wmr/SearchActivity;->page:I

    return v0
.end method

.method static synthetic access$12(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 82
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->shopls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$13(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 82
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->temshopls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$14(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->lv_shop:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic access$15(Lcom/example/m6wmr/SearchActivity;Ldata/ShopData2;)V
    .locals 0

    .prologue
    .line 87
    iput-object p1, p0, Lcom/example/m6wmr/SearchActivity;->spbd:Ldata/ShopData2;

    return-void
.end method

.method static synthetic access$16(Lcom/example/m6wmr/SearchActivity;)Ldata/ShopData2;
    .locals 1

    .prologue
    .line 87
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->spbd:Ldata/ShopData2;

    return-object v0
.end method

.method static synthetic access$17(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 83
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->good:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$18(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->lv_goods:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic access$19(Lcom/example/m6wmr/SearchActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 86
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->areaid:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6wmr/SearchActivity;)Ldbclass/NotesService;
    .locals 1

    .prologue
    .line 70
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->service:Ldbclass/NotesService;

    return-object v0
.end method

.method static synthetic access$20(Lcom/example/m6wmr/SearchActivity;Ljava/util/List;)V
    .locals 0

    .prologue
    .line 83
    iput-object p1, p0, Lcom/example/m6wmr/SearchActivity;->good:Ljava/util/List;

    return-void
.end method

.method static synthetic access$21(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 60
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->data_list:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$3(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/LinearLayout;
    .locals 1

    .prologue
    .line 72
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->ll:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ScrollView;
    .locals 1

    .prologue
    .line 71
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->sc:Landroid/widget/ScrollView;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6wmr/SearchActivity;Ljava/lang/String;)V
    .locals 0

    .prologue
    .line 84
    iput-object p1, p0, Lcom/example/m6wmr/SearchActivity;->searchvalue:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$6(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 459
    invoke-direct {p0}, Lcom/example/m6wmr/SearchActivity;->getData1()Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$7(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/ListView;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->lv:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic access$8(Lcom/example/m6wmr/SearchActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 84
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->searchvalue:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/m6wmr/SearchActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 63
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->tv:Landroid/widget/TextView;

    return-object v0
.end method

.method private getData1()Ljava/util/List;
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Lbean/NotesBean;",
            ">;"
        }
    .end annotation

    .prologue
    .line 460
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 461
    .local v0, "list":Ljava/util/List;, "Ljava/util/List<Lbean/NotesBean;>;"
    new-instance v1, Ldbclass/NotesService;

    invoke-direct {v1, p0}, Ldbclass/NotesService;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/example/m6wmr/SearchActivity;->s:Ldbclass/NotesService;

    .line 462
    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity;->s:Ldbclass/NotesService;

    invoke-virtual {v1}, Ldbclass/NotesService;->getAllNoteList()Ljava/util/List;

    move-result-object v0

    .line 465
    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->removeDuplicate(Ljava/util/List;)V

    .line 466
    return-object v0
.end method

.method private init()V
    .locals 1

    .prologue
    .line 415
    const v0, 0x7f0c0133

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/GridView;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->gv:Landroid/widget/GridView;

    .line 416
    const v0, 0x7f0c0135

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->lv:Landroid/widget/ListView;

    .line 417
    const v0, 0x7f0c0138

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->lv_shop:Landroid/widget/ListView;

    .line 418
    const v0, 0x7f0c013a

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->lv_goods:Landroid/widget/ListView;

    .line 419
    const v0, 0x7f0c0130

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;

    .line 420
    const v0, 0x7f0c0139

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->tv:Landroid/widget/TextView;

    .line 421
    const v0, 0x7f0c013b

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->tv2:Landroid/widget/TextView;

    .line 422
    const v0, 0x7f0c0131

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->bt:Landroid/widget/Button;

    .line 423
    const v0, 0x7f0c012f

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->back:Landroid/widget/Button;

    .line 424
    const v0, 0x7f0c0136

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->delbt:Landroid/widget/Button;

    .line 425
    const v0, 0x7f0c0137

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ScrollView;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->sc:Landroid/widget/ScrollView;

    .line 426
    const v0, 0x7f0c0132

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->ll:Landroid/widget/LinearLayout;

    .line 427
    return-void
.end method

.method public static removeDuplicate(Ljava/util/List;)V
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lbean/NotesBean;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 469
    .local p0, "list":Ljava/util/List;, "Ljava/util/List<Lbean/NotesBean;>;"
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    if-lt v0, v2, :cond_0

    .line 479
    sget-object v2, Ljava/lang/System;->out:Ljava/io/PrintStream;

    invoke-virtual {v2, p0}, Ljava/io/PrintStream;->println(Ljava/lang/Object;)V

    .line 480
    return-void

    .line 470
    :cond_0
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v2

    add-int/lit8 v1, v2, -0x1

    .local v1, "j":I
    :goto_1
    if-gt v1, v0, :cond_1

    .line 469
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 471
    :cond_1
    const-string v3, "11111111111111"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/NotesBean;

    invoke-virtual {v2}, Lbean/NotesBean;->getConcet()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v4, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v3, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 472
    const-string v3, "2222222222"

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/NotesBean;

    invoke-virtual {v2}, Lbean/NotesBean;->getConcet()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v4, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v3, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 473
    invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/NotesBean;

    invoke-virtual {v2}, Lbean/NotesBean;->getConcet()Ljava/lang/String;

    move-result-object v3

    invoke-interface {p0, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lbean/NotesBean;

    invoke-virtual {v2}, Lbean/NotesBean;->getConcet()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 475
    invoke-interface {p0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    .line 470
    :cond_2
    add-int/lit8 v1, v1, -0x1

    goto :goto_1
.end method

.method public static seth(Landroid/widget/ListView;)V
    .locals 7
    .param p0, "listView"    # Landroid/widget/ListView;

    .prologue
    const/4 v6, 0x0

    .line 350
    if-nez p0, :cond_1

    .line 367
    :cond_0
    :goto_0
    return-void

    .line 352
    :cond_1
    invoke-virtual {p0}, Landroid/widget/ListView;->getAdapter()Landroid/widget/ListAdapter;

    move-result-object v1

    .line 353
    .local v1, "listAdapter":Landroid/widget/ListAdapter;
    if-eqz v1, :cond_0

    .line 357
    const/4 v4, 0x0

    .line 358
    .local v4, "totalHeight":I
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_1
    invoke-interface {v1}, Landroid/widget/ListAdapter;->getCount()I

    move-result v5

    if-lt v0, v5, :cond_2

    .line 363
    invoke-virtual {p0}, Landroid/widget/ListView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v3

    .line 365
    .local v3, "params":Landroid/view/ViewGroup$LayoutParams;
    invoke-virtual {p0}, Landroid/widget/ListView;->getDividerHeight()I

    move-result v5

    invoke-interface {v1}, Landroid/widget/ListAdapter;->getCount()I

    move-result v6

    add-int/lit8 v6, v6, -0x1

    mul-int/2addr v5, v6

    add-int/2addr v5, v4

    .line 364
    iput v5, v3, Landroid/view/ViewGroup$LayoutParams;->height:I

    .line 366
    invoke-virtual {p0, v3}, Landroid/widget/ListView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    goto :goto_0

    .line 359
    .end local v3    # "params":Landroid/view/ViewGroup$LayoutParams;
    :cond_2
    const/4 v5, 0x0

    invoke-interface {v1, v0, v5, p0}, Landroid/widget/ListAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    .line 360
    .local v2, "listItem":Landroid/view/View;
    invoke-virtual {v2, v6, v6}, Landroid/view/View;->measure(II)V

    .line 361
    invoke-virtual {v2}, Landroid/view/View;->getMeasuredHeight()I

    move-result v5

    add-int/2addr v4, v5

    .line 358
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method


# virtual methods
.method public getData()Ljava/util/List;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation

    .prologue
    .line 431
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_0
    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity;->goods:[Ljava/lang/String;

    array-length v2, v2

    if-lt v0, v2, :cond_0

    .line 437
    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity;->data_list:Ljava/util/List;

    return-object v2

    .line 432
    :cond_0
    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    .line 433
    .local v1, "map":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;"
    const-string v2, "text"

    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity;->goods:[Ljava/lang/String;

    aget-object v3, v3, v0

    invoke-interface {v1, v2, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 434
    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity;->data_list:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 431
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method public getData11()Ljava/util/List;
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Lbean/GoodsBean;",
            ">;"
        }
    .end annotation

    .prologue
    .line 441
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iput-object v2, p0, Lcom/example/m6wmr/SearchActivity;->good:Ljava/util/List;

    .line 442
    const/4 v1, 0x0

    .local v1, "i":I
    :goto_0
    const/4 v2, 0x5

    if-lt v1, v2, :cond_0

    .line 452
    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity;->good:Ljava/util/List;

    return-object v2

    .line 443
    :cond_0
    new-instance v0, Lbean/GoodsBean;

    invoke-direct {v0}, Lbean/GoodsBean;-><init>()V

    .line 444
    .local v0, "gb":Lbean/GoodsBean;
    const-string v2, "\u725b\u8089\u9762"

    invoke-virtual {v0, v2}, Lbean/GoodsBean;->setname(Ljava/lang/String;)V

    .line 445
    const-string v2, "15"

    invoke-virtual {v0, v2}, Lbean/GoodsBean;->setsellcount(Ljava/lang/String;)V

    .line 446
    const-string v2, "15.00"

    invoke-static {v2}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Float;->floatValue()F

    move-result v2

    invoke-virtual {v0, v2}, Lbean/GoodsBean;->setcost(F)V

    .line 447
    const-string v2, "\u52a0\u91cf\u6bd4\u4ef7\u5bb6"

    invoke-virtual {v0, v2}, Lbean/GoodsBean;->setInstro(Ljava/lang/String;)V

    .line 448
    const-string v2, "http://img3.100bt.com/upload/ttq/20120908/1347116765019.jpg"

    invoke-virtual {v0, v2}, Lbean/GoodsBean;->setimg(Ljava/lang/String;)V

    .line 449
    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity;->good:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 442
    add-int/lit8 v1, v1, 0x1

    goto :goto_0
.end method

.method public getShopSource()Z
    .locals 1

    .prologue
    .line 483
    new-instance v0, Lcom/example/m6wmr/SearchActivity$8;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/SearchActivity$8;-><init>(Lcom/example/m6wmr/SearchActivity;)V

    .line 578
    invoke-virtual {v0}, Lcom/example/m6wmr/SearchActivity$8;->start()V

    .line 579
    const/4 v0, 0x0

    return v0
.end method

.method public getgood()Z
    .locals 1

    .prologue
    .line 584
    new-instance v0, Lcom/example/m6wmr/SearchActivity$9;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/SearchActivity$9;-><init>(Lcom/example/m6wmr/SearchActivity;)V

    .line 683
    invoke-virtual {v0}, Lcom/example/m6wmr/SearchActivity$9;->start()V

    .line 684
    const/4 v0, 0x0

    return v0
.end method

.method public getgoodsSource()Ljava/util/List;
    .locals 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/Object;",
            ">;>;"
        }
    .end annotation

    .prologue
    .line 688
    new-instance v0, Lcom/example/m6wmr/SearchActivity$10;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/SearchActivity$10;-><init>(Lcom/example/m6wmr/SearchActivity;)V

    .line 743
    invoke-virtual {v0}, Lcom/example/m6wmr/SearchActivity$10;->start()V

    .line 744
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->data_list:Ljava/util/List;

    return-object v0
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 10
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    const/4 v9, 0x1

    const/4 v3, 0x0

    .line 90
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 91
    const v0, 0x7f030036

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->setContentView(I)V

    .line 92
    invoke-virtual {p0}, Lcom/example/m6wmr/SearchActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lmyapp/MyApp;

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->m:Lmyapp/MyApp;

    .line 93
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v6

    .line 95
    .local v6, "activityList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/app/Activity;>;"
    invoke-virtual {v6, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 97
    iput-object p0, p0, Lcom/example/m6wmr/SearchActivity;->mcontext:Landroid/content/Context;

    .line 98
    sput-object p0, Lcom/example/m6wmr/SearchActivity;->me:Lcom/example/m6wmr/SearchActivity;

    .line 99
    sput-object p0, Lcom/example/m6wmr/SearchActivity;->eva:Lcom/example/m6wmr/SearchActivity;

    .line 100
    invoke-direct {p0}, Lcom/example/m6wmr/SearchActivity;->init()V

    .line 101
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->et:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity;->textWatcher:Landroid/text/TextWatcher;

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 102
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->shoptypels:Ljava/util/List;

    .line 103
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->areals:Ljava/util/List;

    .line 104
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->shopls:Ljava/util/List;

    .line 105
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->temshopls:Ljava/util/List;

    .line 107
    new-instance v0, Ldbclass/NotesService;

    invoke-direct {v0, p0}, Ldbclass/NotesService;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->service:Ldbclass/NotesService;

    .line 109
    const/high16 v0, 0x7f0c0000

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/SearchActivity;->findViewById(I)Landroid/view/View;

    move-result-object v8

    check-cast v8, Landroid/widget/LinearLayout;

    .line 110
    .local v8, "top":Landroid/widget/LinearLayout;
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v0

    const-string v1, "1"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 111
    const v0, 0x7f070026

    invoke-virtual {v8, v0}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 112
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->delbt:Landroid/widget/Button;

    const/high16 v1, 0x7f040000

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setBackgroundResource(I)V

    .line 113
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->delbt:Landroid/widget/Button;

    const v1, -0xd53e87

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setTextColor(I)V

    .line 116
    :cond_0
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->bt:Landroid/widget/Button;

    new-instance v1, Lcom/example/m6wmr/SearchActivity$2;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/SearchActivity$2;-><init>(Lcom/example/m6wmr/SearchActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 141
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->delbt:Landroid/widget/Button;

    new-instance v1, Lcom/example/m6wmr/SearchActivity$3;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/SearchActivity$3;-><init>(Lcom/example/m6wmr/SearchActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 155
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->back:Landroid/widget/Button;

    new-instance v1, Lcom/example/m6wmr/SearchActivity$4;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/SearchActivity$4;-><init>(Lcom/example/m6wmr/SearchActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 164
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->data_list:Ljava/util/List;

    .line 165
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->mcontext:Landroid/content/Context;

    const-string v1, "\u8bf7\u7a0d\u540e"

    const-string v2, "\u83b7\u53d6\u6570\u636e\u4e2d.."

    invoke-static {v0, v1, v2}, Lmyapp/Util;->showDialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 167
    invoke-virtual {p0}, Lcom/example/m6wmr/SearchActivity;->getgoodsSource()Ljava/util/List;

    .line 169
    new-array v4, v9, [Ljava/lang/String;

    const-string v0, "text"

    aput-object v0, v4, v3

    .line 170
    .local v4, "from":[Ljava/lang/String;
    new-array v5, v9, [I

    const v0, 0x7f0c02e4

    aput v0, v5, v3

    .line 171
    .local v5, "to":[I
    new-instance v0, Landroid/widget/SimpleAdapter;

    iget-object v2, p0, Lcom/example/m6wmr/SearchActivity;->data_list:Ljava/util/List;

    .line 172
    const v3, 0x7f030094

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Landroid/widget/SimpleAdapter;-><init>(Landroid/content/Context;Ljava/util/List;I[Ljava/lang/String;[I)V

    .line 171
    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->sim_adapter:Landroid/widget/SimpleAdapter;

    .line 174
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->gv:Landroid/widget/GridView;

    iget-object v1, p0, Lcom/example/m6wmr/SearchActivity;->sim_adapter:Landroid/widget/SimpleAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 176
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->gv:Landroid/widget/GridView;

    new-instance v1, Lcom/example/m6wmr/SearchActivity$5;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/SearchActivity$5;-><init>(Lcom/example/m6wmr/SearchActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/GridView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 200
    invoke-direct {p0}, Lcom/example/m6wmr/SearchActivity;->getData1()Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->list:Ljava/util/List;

    .line 201
    new-instance v7, Ldata/NotesAdapter;

    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->list:Ljava/util/List;

    invoke-direct {v7, p0, v0}, Ldata/NotesAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    .line 202
    .local v7, "adapter":Ldata/NotesAdapter;
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->lv:Landroid/widget/ListView;

    invoke-virtual {v0, v7}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 204
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->lv:Landroid/widget/ListView;

    invoke-static {v0}, Lcom/example/m6wmr/SearchActivity;->seth(Landroid/widget/ListView;)V

    .line 205
    iget-object v0, p0, Lcom/example/m6wmr/SearchActivity;->lv:Landroid/widget/ListView;

    new-instance v1, Lcom/example/m6wmr/SearchActivity$6;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/SearchActivity$6;-><init>(Lcom/example/m6wmr/SearchActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 227
    new-instance v0, Lcom/example/m6wmr/SearchActivity$7;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/SearchActivity$7;-><init>(Lcom/example/m6wmr/SearchActivity;)V

    iput-object v0, p0, Lcom/example/m6wmr/SearchActivity;->h:Landroid/os/Handler;

    .line 342
    return-void
.end method
